package io.noties.markwon.plugin.inline.parser;

import org.commonmark.internal.inline.InlineContentParser;
import org.commonmark.internal.inline.InlineParserState;
import org.commonmark.internal.inline.ParsedInline;


/**
 * Parses markdown links {@code [link](#href)}
 *
 * @since 4.2.0
 */
public class OpenBracketInlineProcessor implements InlineContentParser {
    @Override
    public ParsedInline tryParse(InlineParserState inlineParserState) {
        return null;
    }
   /*
    public char specialCharacter() {
        return '[';
    }


    protected Node parse() {


        int startIndex = index;
        index++;

        Text node = text("[");

        // Add entry to stack for this opener
        addBracket(Bracket.link(node, startIndex, lastBracket(), lastDelimiter()));

        return node;
    }*/
}
